package com.lcifn.zk.console.mapper;

import com.lcifn.zk.console.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author lichao
 * @date 2020/6/10 16:13
 */
@Mapper
public interface UserMapper {

    @Select("select * from user where id = #{id}")
    User getUser(@Param("id") Long id);
}
